package net.hn.hnms.biz.mine.domain;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Table;
import java.io.Serializable;


@Table(name = "home_link_config", schema = "public", catalog = "huaneng-smart-mine")
@ApiModel("矿井安全信息配置")
@Data
public class HomeLinkConfig extends BaseModel implements Serializable {

    /**
     * 主键ID
     */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty(value = "链接名称")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String linkName;

    @ApiModelProperty(value = "链接简称")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String linkShortName;

    @ApiModelProperty(value = "链接地址")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String linkAddress;

    @ApiModelProperty(value = "链接logo")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String linkIcon;

    @ApiModelProperty(value = "链接排序")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer linkSort;

}
